package com.aistar.service.es_search;

import com.aistar.pojo.PageEs;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shkstart
 * @date 2019/10/11 - 16:27
 */
@Repository
public interface ES_SearchService<T>{

    public PageEs<T> queryResult(PageEs pageParameter, String ansText);

    public List<T> queryAllResults();
}
